//
//  AddressBook.m
//  UI11_test3
//
//  Created by dllo on 16/6/20.
//  Copyright © 2016年 司昌宝. All rights reserved.
//

#import "AddressBook.h"

@implementation AddressBook

-(void)dealloc{
    [_dicOfContact release];
    [super dealloc];
}

-(instancetype)init{
    self = [super init];
    if (self) {
        self.dicOfContact = [NSMutableDictionary dictionary];
    }
    return self;
}

-(NSArray<NSString *> *)getGroupNames{
    return [self.dicOfContact.allKeys sortedArrayUsingSelector:@selector(compare:)];
}


@end
